package com.mxnet.chongjin.nci.receiver;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;

/**
 * author:chongjin
 * email:lcj270018655@163.com
 * date:2018/10/23
 * other:
 */

public class HoneywellReceiver extends BroadcastReceiver {
    public static final String INTENT_SCAN_ACTION = "com.honeywell.scantointent.intent.action.test";
    public OnReceiveCode mOnReceiveCode;

    @Override
    public void onReceive(Context context, Intent intent) {
        mOnReceiveCode.notifyThread(intent);
    }

    public interface OnReceiveCode {
        void notifyThread(Intent intent);
    }

    public void setOnReceiveCode(OnReceiveCode onReceiveCode) {
        this.mOnReceiveCode = onReceiveCode;
    }
}
